import hide_loading from '@dfeidao/atom-wxapp/api/interaction/hide-loading';
// import set_local from '@dfeidao/atom-wxappal/set';
import show_loading from '@dfeidao/atom-wxapp/api/interaction/show-loading';
import { IFeidaoAiWeappPage } from '@dfeidao/atom-wxapp/interfaces';
import nodejs from '@dfeidao/atom-wxapp/msg/nodejs';
import render from '@dfeidao/atom-wxapp/render/render';

export default async function a001(fd: IFeidaoAiWeappPage) {

	try {
		// app-fd_staff_findID
		const data = await nodejs('app-equip_list/s001', {
			systemid: '6641',
			sort: {
				retailer_store_no: 1
			},
			page_no: 1,
			page_size: 1

		});

		render(fd, {
			data
		});
	} catch (error) {
		show_loading('读取数据失败');
		hide_loading();
	}
}
